import java.awt.BorderLayout;

import javax.swing.JFrame;


public class MainFrame extends JFrame{
	 
	public static int WINDOW_SIZE_X = 800;
	public static int WINDOW_SIZE_Y = 600;
	public static void main(String[] args)
	{
		MainFrame scene = new MainFrame();
		scene.setVisible(true);
	}
	
	public void InitUI()
	{
		setTitle("Basic Elements for Java Game");
		setSize(WINDOW_SIZE_X, WINDOW_SIZE_Y);
		setResizable(false);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		//MainScene scene = new MainScene();
		MainScene scene = new MainScene();
		scene.setFocusable(true);
		this.add(scene);
	}
	public MainFrame()
	{
		InitUI();
	}
	
	
}
